package org.feign.consumer.service;

import org.feign.consumer.service.impl.TestFeignServiceHystric;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(value = "eureka-client", fallback = TestFeignServiceHystric.class)
public interface ITestFeignService {

	@RequestMapping(value = "/test", method = RequestMethod.GET)
    String testFeign(String name);
}
